<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>计算你活了多少天</title>
	</head>
	<body>
		<script>
			var birthday=new Date(1993,1,28,7,0);
			var now=new Date();
			var t1=birthday.getTime();
			var t2=now.getTime();
			document.write(Math.floor((t2-t1)/(1000*60*60*24)));
		</script>
	</body>
</html>
